// ChessAI.h: interface for the CChessAI class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_CHESSAI_H__7529F764_C07D_49B5_8A69_4A92722127D4__INCLUDED_)
#define AFX_CHESSAI_H__7529F764_C07D_49B5_8A69_4A92722127D4__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "CBData.h"

class CChessAI  
{
public:
	virtual void Think() = 0;
	virtual bool GetBestStep(const char side,int &x,int &y) = 0 ;
	virtual void NotifyChange() = 0;
	CChessAI(CCBData &data):m_data(data)
	{
	}
	virtual ~CChessAI()
	{
	}

protected:
	const CCBData& m_data;
};

#endif // !defined(AFX_CHESSAI_H__7529F764_C07D_49B5_8A69_4A92722127D4__INCLUDED_)
